package qianfeng.com.meijiadaka.bean;

import java.util.List;

/**
 * Created by yanshihao on 2017/2/9.
 */

public class TutorialBean {
    /**
     * code : 0
     * result : {"categories":[{"categoryId":1,"categoryName":"新手教程","categoryIcon":"http://pic.yilos.com/c1a92da95c6a717b15cf95d32887295b"},{"categoryId":2,"categoryName":"开店秘籍","categoryIcon":"http://pic.yilos.com/10e0db0eb924ced7261732130b6b9e0c"},{"categoryId":3,"categoryName":"高手进阶","categoryIcon":"http://pic.yilos.com/23baa58251a562d3a9dc6d4e30df27fc"},{"categoryId":4,"categoryName":"美睫教程","categoryIcon":"http://pic.yilos.com/80ac85b142e50006d3f63b05f306c8da"}],"hotVideos":[{"topicId":"1db59f00-70bd-11e5-976b-35813a43b6ad","title":"第415期：泡沫","thumbUrl":"http://pic.yilos.com/cb251acb7f86ed1a22ed8a89218be1c5"},{"topicId":"b4d64620-9262-11e5-ab99-1f385dee6318","title":"第1期：自然甲护理","thumbUrl":"http://pic.yilos.com/767c57d08a763da4f6f2335c950313c2"},{"topicId":"94de8370-9f0d-11e5-921f-81cce9d12214","title":"第2期：法式甲项目流程","thumbUrl":"http://pic.yilos.com/343303f71fbd8ec613da720dc5ac4a76"},{"topicId":"118d87f0-abb0-11e5-9f69-ef49bc56926d","title":"第3期：贴片光疗甲项目流程","thumbUrl":"http://pic.yilos.com/755c45fa1b2019d97afe5880673c1c0f"}]}
     */

    private int code;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        private List<CategoriesBean> categories;
        private List<HotVideosBean> hotVideos;

        public List<CategoriesBean> getCategories() {
            return categories;
        }

        public void setCategories(List<CategoriesBean> categories) {
            this.categories = categories;
        }

        public List<HotVideosBean> getHotVideos() {
            return hotVideos;
        }

        public void setHotVideos(List<HotVideosBean> hotVideos) {
            this.hotVideos = hotVideos;
        }

        public static class CategoriesBean {
            /**
             * categoryId : 1
             * categoryName : 新手教程
             * categoryIcon : http://pic.yilos.com/c1a92da95c6a717b15cf95d32887295b
             */

            private int categoryId;
            private String categoryName;
            private String categoryIcon;

            public int getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(int categoryId) {
                this.categoryId = categoryId;
            }

            public String getCategoryName() {
                return categoryName;
            }

            public void setCategoryName(String categoryName) {
                this.categoryName = categoryName;
            }

            public String getCategoryIcon() {
                return categoryIcon;
            }

            public void setCategoryIcon(String categoryIcon) {
                this.categoryIcon = categoryIcon;
            }
        }

        public static class HotVideosBean {
            /**
             * topicId : 1db59f00-70bd-11e5-976b-35813a43b6ad
             * title : 第415期：泡沫
             * thumbUrl : http://pic.yilos.com/cb251acb7f86ed1a22ed8a89218be1c5
             */

            private String topicId;
            private String title;
            private String thumbUrl;

            public String getTopicId() {
                return topicId;
            }

            public void setTopicId(String topicId) {
                this.topicId = topicId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getThumbUrl() {
                return thumbUrl;
            }

            public void setThumbUrl(String thumbUrl) {
                this.thumbUrl = thumbUrl;
            }
        }
    }
}
